﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="hsbc_proposal_excel.aspx.cs"
    Inherits="car_insurance_hsbc_proposal_excel" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div runat="server" id="divContent">
        <br />
        CeCarId:
        <asp:TextBox ID="txtCarId" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="rfvCarId" runat="server" ControlToValidate="txtCarId"
            InitialValue="" Text="*" Display="Dynamic"></asp:RequiredFieldValidator>
        <asp:RegularExpressionValidator ID="revCarId" runat="server" ControlToValidate="txtCarId"
            ValidationExpression="[0-9]\d+" validationErrorCssClass="validationError" Text="numbers only"
            ErrorMessage=""></asp:RegularExpressionValidator><br />
        Provider:
        <asp:DropDownList runat="server" ID="ddlProvider" AutoPostBack="true" OnSelectedIndexChanged="ProviderChange">
            <asp:ListItem Value="-1" Selected="True">--SELECT--</asp:ListItem>
            <asp:ListItem Value="LIBERTY">LIBERTY</asp:ListItem>
            <asp:ListItem Value="ETIQA">ETIQA</asp:ListItem>
        </asp:DropDownList>
        <asp:RequiredFieldValidator ID="rfvProvider" runat="server" ControlToValidate="ddlProvider"
            InitialValue="-1" Text="*"></asp:RequiredFieldValidator>
        <br />
        Send To:
        <asp:DropDownList runat="server" ID="ddlSendTo">
            <asp:ListItem Value="-1" Selected="True">--SELECT--</asp:ListItem>
            <asp:ListItem Value="Customer">Customer</asp:ListItem>
            <asp:ListItem Value="Provider">Provider</asp:ListItem>
        </asp:DropDownList>
        <asp:RequiredFieldValidator ID="rfvSendTo" runat="server" ControlToValidate="ddlSendTo"
            InitialValue="-1" Text="*"></asp:RequiredFieldValidator>
        <br />
        Payment Mode:
        <asp:DropDownList runat="server" ID="ddlPaymentMode">
            <asp:ListItem Value="-1" Selected="True">--SELECT--</asp:ListItem>
            <asp:ListItem Value="Cash">CASH</asp:ListItem>
            <asp:ListItem Value="CreditCard">CREDIT CARD</asp:ListItem>
        </asp:DropDownList>
        <asp:RequiredFieldValidator ID="rfvPaymentMode" runat="server" ControlToValidate="ddlPaymentMode"
            InitialValue="-1" Text="*"></asp:RequiredFieldValidator>
        <br />
        File Location:
        <asp:Panel runat="server" ID="pnlLiberty" Visible="false">
            <asp:TextBox ID="txtFileLocation" runat="server" Width="350px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="rfvFileLocation" runat="server" ControlToValidate="txtFileLocation"
                InitialValue="" Text="*"></asp:RequiredFieldValidator>
        </asp:Panel>
        <asp:Panel runat="server" ID="pnlEtiqa" Visible="false">
            Tax Invoice: <asp:TextBox ID="txtFileLocTax" runat="server" Width="350px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtFileLocTax"
                InitialValue="" Text="*"></asp:RequiredFieldValidator><br />
            Certificate: <asp:TextBox ID="txtFileLocCert" runat="server" Width="350px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtFileLocCert"
                InitialValue="" Text="*"></asp:RequiredFieldValidator><br />
            Schedule: <asp:TextBox ID="txtFileLocSchedule" runat="server" Width="350px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtFileLocSchedule"
                InitialValue="" Text="*"></asp:RequiredFieldValidator>
        </asp:Panel>
        <br />
        <asp:Button ID="btnSend" runat="server" Text="Send" CausesValidation="true" OnClick="Send_Click" />
        <br />
        <asp:Label ID="lblContent" runat="server"></asp:Label>
    </div>
    </form>
</body>
</html>
